﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication7
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write($"<h1>登录成功页面</h1>");
            string userName = Request.Form["UserName"];
            string pwd = Request.Form["Pwd"];

            Response.Write("欢迎你！" + userName + "你的密码是" + pwd);
            string userName1 = Request.Params["UserName"];
            string pwd1 = Request.Params["Pwd"];

            Response.Write("欢迎你！"+ userName1 + "你的密码是" +pwd1);
        }
    }
}